

function createElements(val){
	var mb = document.createElement('div');
	mb.className = 'mb';
	mb.setAttribute("style", "width:100%;height:100vh;display:block;");

	var content = document.createElement('div');
	content.setAttribute("style", "width: 16.6875rem;height:13.1875rem;position: absolute; left: 0; top: 0; right: 0; bottom: 0;margin:auto;border-radius: 8px;");
	content.className = 'bgWhite';

	var article = document.createElement('div');
	article.innerHTML = "<div class='font0 textcenter lineHeight25' style='padding:0 1.25rem;margin:1.25rem 0 1rem 0;'><span class='font18 col36 lineHeight25 disBlock'>项目派工</span></div>"+
						"<div style='padding:0 1.25rem; text-align: center;'>"+
							"<span class = 'font14 col666'>是否确认派工至下一节点</span>"+
						"</div>"+
						"<div style='padding:0 1.25rem; margin-top:.625rem;text-align: center;'>"+
							"<span class = 'font14 colorange'><span v-text='nodeDataOne.nodeName'></span>：<span v-text='nodeDataOne.dutyUser'></span> <span v-text='nodeDataOne.dutyPhone'></span></span>"+
						"</div>";

	var btns = document.createElement('div');
	btns.setAttribute("style", "height:2.875rem;width:100%;position:absolute;bottom:0;display:flex;line-height:2.875rem;border-top:1px solid #E8E8E8;");
	btns.innerHTML = '<div class="width50 font0 textcenter" style="border-right:1px solid #E8E8E8;" id="moveToNoSign"><span class="font14 col9A9A9A">取消</span></div>'+
					 '<div class="width50 font0 textcenter" id="moveToSign"><span class="font14 col7FCB49">确定</span></div>';
	content.appendChild(article);
	content.appendChild(btns);
	mb.appendChild(content);
	document.body.appendChild(mb);

	$('.mb').hide()

	$('#moveToSign').on('click',function(){
		console.log('确定');
		window.location = '../dataFix/dataListImprove.html'
	})
	$('#moveToNoSign').on('click',function(){
		console.log('取消');
		$('.mb').hide()
	})

};
createElements();

function showContractAlert(){
	$('.mb').show();
};
